<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>输电管理系统指挥中心</title>
<!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
<link href="#(ctx)/static/favicon.ico" rel="stylesheet" />
<link href="#(ctx)/static/css/bootstrap.min.css" rel="stylesheet" />
<link
	href="#(ctx)/static/ajax/libs/bootstrap-select/bootstrap-select.min.css"
	rel="stylesheet" />
<link href="#(ctx)/static/css/jquery.contextMenu.min.css"
	rel="stylesheet" />
<link href="#(ctx)/static/css/font-awesome.min.css" rel="stylesheet" />
<link href="#(ctx)/static/css/animate.css" rel="stylesheet" />
<link href="#(ctx)/static/css/style.css" rel="stylesheet" />
<link href="#(ctx)/static/css/skins.css" rel="stylesheet" />
<link href="#(ctx)/static/ruoyi/css/ry-ui.css?v=4.0.0" rel="stylesheet" />

<style type="text/css">
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn)
	{
	width: 100%;
	padding: 5px;
}

        
  ul li{float:left;list-style:none;padding:0px 5px}
  
  .navbar{min-height:40px;}
</style>
</head>
<body class="fixed-sidebar full-height-layout gray-bg"
	style="overflow: hidden" classappend="|theme-dark skin-blue|">
	<div id="wrapper">
		<!--右侧部分开始-->
		<div id="page-wrapper" style="margin: 0px;" class="gray-bg dashbard-1">
			<div class="row border-bottom">
				<div style="background:#3c8dbc;color:#fff;font-size:24px;width:100%;text-align:center;padding-top:2px;">智慧工区指挥中心</div>
				<nav class="navbar navbar-static-top" role="navigation"
					style="margin-bottom: 0;">
					 <ul>
					 	<li>
					 		<a role="button" class="btn btn-success" 
								href="javascript:void(0)" onclick="openMain()">返回系统首页
					        </a>
					 	</li>
					 	
					 	<li>
					 		<a  role="button" class="btn btn-success menuItem" 
								target="_self"
								href="#(ctx)/bigscreen">指标分析
					        </a>
					 	</li>
					 	
					 	<li>
					 		<a  role="button" class="btn btn-success menuItem" 
								target="_self"
								href="#(ctx)/maintop/maindefault">工区工作
					        </a>
					 	</li>
					 	
					 	<li>
					 		<div class="dropdown">
					            <a role="button" data-toggle="dropdown" class="btn btn-success" data-target="#"
					               href="javascript:;">
				               		作业地图<span class="caret"></span>
					            </a>
					 		<ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
					        <li>
									<a class="menuItem"
									target="_self" title="日工作计划地图"  href="#(ctx)/map_day_work"><i class="fa fa-map" aria-hidden="true"></i> 日工作计划地图</a>
								</li>
								<li>
									<a class="menuItem"
									target="_self" title="线路地图"  href="#(ctx)/map_dept_line" ><i class="fa fa-map" aria-hidden="true"></i> 线路地图</a>
								</li>
								<li>
									<a class="menuItem"
									target="_self" title="跨铁路地图"  href="#(ctx)/map_railway"><i class="fa fa-map" aria-hidden="true"></i> 跨铁路地图</a>
								</li>
								<li>
									<a class="menuItem"
									target="_self" title="三跨地图"  href="#(ctx)/map_three_cross" ><i class="fa fa-map" aria-hidden="true"></i> 三跨地图</a>
								</li>
								<li>
									<a class="menuItem"
									target="_self" title="隐患地图"  href="#(ctx)/map_trouble"><i class="fa fa-map" aria-hidden="true"></i> 隐患地图</a>
								</li>
								
								<li>
									<a class="menuItem"
									target="_self" title="树木隐患地图"  href="#(ctx)/map_trouble_tree" ><i class="fa fa-map" aria-hidden="true"></i> 树木隐患地图</a>
								</li>
						
								<li>
									<a class="menuItem"
									target="_self" title="故障地图"  href="#(ctx)/map_trouble_lib" ><i class="fa fa-map" aria-hidden="true"></i> 故障地图</a>
								</li>
								</ul>
								</div>
					 	</li>
					 	#if(menus.size()>0)
					 	<li>
						 	<div class="dropdown">
					            <a role="button" data-toggle="dropdown" class="btn btn-success" data-target="#"
					               href="javascript:;">
				               		 调度指挥<span class="caret"></span>
					            </a>
					            <ul class="dropdown-menu multi-level" role="menu" aria-labelledby="dropdownMenu">
					            	#for(cmenu : menus)
					                <li><a class="menuItem"
									target="_self"
									href="#(ctx)/#(cmenu.url == '' ? '#' : cmenu.url)">#(cmenu.menuName)</a></li>
					                #end
					            </ul>
				           </div>
					    </li>
					 	#end
					 </ul>
				</nav>
			</div>
			<div class="row content-tabs" >  <!-- style="display:none" -->
				<button class="roll-nav roll-left tabLeft">
					<i class="fa fa-backward"></i>
				</button>
				<nav class="page-tabs menuTabs">
					<div class="page-tabs-content">
						<a href="javascript:;" class="active menuTab"
							data-id="#(ctx)/maintop/maindefault">工区工作</a>
					</div>
				</nav>
				<button class="roll-nav roll-right tabRight">
					<i class="fa fa-forward"></i>
				</button>
				<a href="#" class="roll-nav roll-right tabReload"><i
					class="fa fa-refresh"></i> 刷新</a>
			</div>

			<a id="ax_close_max" class="ax_close_max" href="#" title="关闭全屏">
				<i class="fa fa-times-circle-o"></i>
			</a>

			<div class="row mainContent" id="content-main">
				<iframe class="RuoYi_iframe" name="iframe0" width="100%"
					height="100%" data-id="#(ctx)/maintop/maindefault" src="#(ctx)/maintop/maindefault"
					frameborder="0" seamless></iframe>
			</div>
		</div>
		<!--右侧部分结束-->
	</div>
	<!-- 全局js -->
	<script src="#(ctx)/static/js/jquery.min.js"></script>
	<script src="#(ctx)/static/js/bootstrap.min.js"></script>
	<script
		src="#(ctx)/static/ajax/libs/bootstrap-select/bootstrap-select.min.js"></script>

	<script src="#(ctx)/static/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script
		src="#(ctx)/static/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="#(ctx)/static/js/jquery.contextMenu.min.js"></script>
	<script src="#(ctx)/static/ajax/libs/blockUI/jquery.blockUI.js"></script>
	<script src="#(ctx)/static/ajax/libs/iCheck/icheck.min.js"></script>
	<script src="#(ctx)/static/ajax/libs/layer/layer.min.js"></script>
	<script src="#(ctx)/static/ajax/libs/layui/layui.js"></script>
	<script src="#(ctx)/static/ruoyi/js/common.js?v=4.0.0"></script>
	<script src="#(ctx)/static/ruoyi/js/ry-ui.js?v=4.0.0"></script>
	<script src="#(ctx)/static/ruoyi/index.js"></script>
	<script src="#(ctx)/static/ajax/libs/fullscreen/jquery.fullscreen.js"></script>

	<script src="#(ctx)/static/scrolling-tabs/jquery.scrolling-tabs.js"></script>

	<script src="#(ctx)/static/vue/vue.min.js"></script>
	<script src="#(ctx)/static/vue/axios.min.js"></script>


	<script>
		var ctx = "#(ctx)/";
		//皮肤缓存
		var skin = "" // storage.get("skin");
		// history（表示去掉地址的#）否则地址以"#"形式展示
		var mode = "history";
		// 历史访问路径缓存
		var historyPath = "" // storage.get("historyPath");
		// 排除非左侧菜单链接
		var excludesUrl = [ "/system/user/profile" ];

		// 本地主题优先，未设置取系统配置
		if ($.common.isNotEmpty(skin)) {
			$("body").addClass(skin.split('|')[0]);
			$("body").addClass(skin.split('|')[1]);
		} else {
			/* var sideTheme = [[${@config.getKey('sys.index.sideTheme')}]];
			var skinName = [[${@config.getKey('sys.index.skinName')}]];
			$("body").addClass(sideTheme);
			$("body").addClass(skinName); */
		}

		/*用户管理-重置密码*/
		function resetPwd() {
			var url = ctx + 'system/user/profile/resetPwd';
			$.modal.open("重置密码", url, '800', '500');
		}
		/* 切换主题 */
		function switchSkin() {
			layer.open({
				type : 2,
				shadeClose : true,
				title : "切换主题",
				area : [ "530px", "386px" ],
				content : [ ctx + "system/switchSkin", 'no' ]
			})
		}

		/** 刷新时访问路径页签 */
		function applyPath(url) {
			$('a[href$="' + decodeURI(url) + '"]').click();
			if ($.inArray(url, excludesUrl)) {
				$('a[href$="' + url + '"]').parent("li").addClass("selected")
						.parents("li").addClass("active").end().parents("ul")
						.addClass("in");
			}
		}

		$(function() {
			if ($.common.equals("history", mode)
					&& window.performance.navigation.type == 1) {
				var url = ""; //storage.get('publicPath');
				if ($.common.isNotEmpty(url)) {
					applyPath(url);
				}
			} else {
				var hash = location.hash;
				if ($.common.isNotEmpty(hash)) {
					var url = hash.substring(1, hash.length);
					applyPath(url);
				}
			}

		});

		function selectOnchange(obj) {
			var value = obj.options[obj.selectedIndex].value;
			window.parent.createMenuItemThis('/admin/w_org_edit', 'cesi');
		}

		function getMenu(id) {
			alert(id);
			console.log(id);
		}
		
		function openMain()
		{
			location.href="#(ctx)/tomain";
		}
	</script>
</body>
</html>
